package com.hancai.barrage.mapper;

import com.hancai.barrage.pagehelper.QueryObject;
import com.hancai.barrage.pojo.Employee;
import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Employee row);

    Employee selectByPrimaryKey(Long id);

    List<Employee> selectAll();

    int updateByPrimaryKey(Employee row);

    long selectCount(QueryObject qo);

    List<Employee> selectForList(QueryObject qo);

    Employee selectByUsername(String username);
}